<?php
use yii\bootstrap\Nav;
?>

<?= Nav::widget(
[
    'options' => [
        'class' => 'nav-tabs',
        'style' => 'margin-bottom: 15px',
    ],
    'items' => [
        [
            'label' => 'Краткая информация',
            'url' =>  ['/event/view', 'id' => $this->params['id']],
        ],
        [
            'label' => 'Подробная информация',
            'url' =>  ['/event/view-full-information', 'id' => $this->params['id']],
        ],
        [
            'label' => 'Статистика продаж',
            'url' =>  ['/event/view-sales', 'id' => $this->params['id']],
        ],

        [
            'label' => 'Редактировать',
            'visible' => \Yii::$app->user->can('updateEvent'),
            'url' => ['event/update', 'id' => $this->params['id']],
        ],
    ],
]
) ?>

   